import request from "@/common/request";
//抽奖的接口
export function addPrize(data) {
    return request({
        url: '/apiadmin/prize/prize/add',
        method: 'post',
        data: data
    })
}
export function editPrize(data) {
    return request({
        url: '/apiadmin/prize/prize/editPrize',
        method: 'post',
        data: data
    })
}
export function sendPrize(data) {
    return request({
        url: '/apiadmin/prize/prize/sendPrize',
        method: 'post',
        data: data
    })
}
export function finishPrize(data) {
    return request({
        url: '/apiadmin/prize/prize/finishPrize',
        method: 'post',
        data: data
    })
}
export function getfinish(data) {
    return request({
        url: '/apiadmin/prize/prize/getfinish',
        method: 'post',
        data: data
    })
}
export function addLottery(data) {
    return request({
        url: '/apiadmin/prize/prize/addLottery',
        method: 'post',
        data: data
    })
}